package com.imc.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TbSourcelinkParam entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tb_sourcelink_param", catalog = "imcdbserver")
public class TbSourcelinkParam implements java.io.Serializable {

	// Fields

	private Integer paramId;
	private String paramName;
	private String paramValue;
	private Integer linkId;
	private Integer paramType;

	// Constructors

	/** default constructor */
	public TbSourcelinkParam() {
	}

	/** minimal constructor */
	public TbSourcelinkParam(Integer linkId, Integer paramType) {
		this.linkId = linkId;
		this.paramType = paramType;
	}

	/** full constructor */
	public TbSourcelinkParam(String paramName, String paramValue,
			Integer linkId, Integer paramType) {
		this.paramName = paramName;
		this.paramValue = paramValue;
		this.linkId = linkId;
		this.paramType = paramType;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "param_id", unique = true, nullable = false)
	public Integer getParamId() {
		return this.paramId;
	}

	public void setParamId(Integer paramId) {
		this.paramId = paramId;
	}

	@Column(name = "param_name", length = 50)
	public String getParamName() {
		return this.paramName;
	}

	public void setParamName(String paramName) {
		this.paramName = paramName;
	}

	@Column(name = "param_value")
	public String getParamValue() {
		return this.paramValue;
	}

	public void setParamValue(String paramValue) {
		this.paramValue = paramValue;
	}

	@Column(name = "link_id", nullable = false)
	public Integer getLinkId() {
		return this.linkId;
	}

	public void setLinkId(Integer linkId) {
		this.linkId = linkId;
	}

	@Column(name = "param_type", nullable = false)
	public Integer getParamType() {
		return this.paramType;
	}

	public void setParamType(Integer paramType) {
		this.paramType = paramType;
	}

}